<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<title>CSS 盒模型</title>
    <script src="./prefixfree.js"></script>
	<style>
		body {
			margin: 0;
			padding: 0;
		}
		
		img {
			width: 100%;
		}
		
		.items {
			padding-top: 30px;
			text-align: center;
		}
		
		.item {
			width: 316px;
			height: 170px;
			margin: 0 10px;
			display: inline-block;
			position: relative;
			box-sizing: border-box;
			overflow: hidden;
		}
		.box{
			width: 316px;
			height: 170px;
			background-color: lightblue;
		}
		
		.item:hover {
			border: 5px solid pink;
		}
	</style>
</head>

<body>
	<div class="items">
		<div class="item">
			<div class="box"></div>
		</div>
		<div class="item">
			<div class="box"></div>
		</div>
		<div class="item">
			<div class="box"></div>
		</div>
	</div>
</body>
</html>